#!/usr/bin/env bash
# vim:fdm=marker fmr=[[[,]]] cms=\ #%s

main()
{ #[[[
    if [[ -z $SVCENV_DIR ]]
    then
        echo "Error: SVCENV_DIR not set"
        return 1
    fi
    local svr=$(basename $PWD | tr 'a-z' 'A-Z')

    downsvr $svr || return 1

    bsvr || return 1

    bootsvr $svr || return 1
} #]]]

main $@
exit $?
